from rest_framework.viewsets import ModelViewSet

from goods.models import SPUSpecification
from sadmin.serializersss.specs_serializers import SpecsSerializers
from sadmin.utils import Mypage


class SpecsViews(ModelViewSet):
    queryset = SPUSpecification.objects.all()
    serializer_class = SpecsSerializers
    pagination_class = Mypage
